/*
 * Created on Oct 18, 2004
 *
 * To change the template for this generated file go to
 * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
 */
package com.erclab.internal.xpresso.reportelements;

import com.erclab.internal.xpresso.reports.Report;

/**
 * @author rodrigen
 *
 */
public class Static extends ReportElement {



	/* (non-Javadoc)
	 * @see com.erclab.internal.xpresso.reportelements.ReportElement#toHTML(java.lang.String, java.lang.String, com.erclab.internal.xpresso.reports.Report)
	 */
	public String toHTML(
		String columnValue,
		String uniqueKeyValue,
		Report theReport) {

		String returnValue = this.parameters;
		if (returnValue != null){
			returnValue = returnValue.replaceAll("-param:columnValue-", columnValue);
			returnValue = returnValue.replaceAll("-param:uniqueKeyValue-", uniqueKeyValue);
		} 
		return returnValue;
	}

}
